﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using WestJourney.Properties;

namespace WestJourney
{
    public partial class Loading : Form
    {
        public Loading()
        {
            InitializeComponent();
        }

        private void pictureBoxPlay_Click(object sender, EventArgs e)
        {
            //MessageBox.Show("Play");
            MainForm mainForm = new MainForm();
            mainForm.ShowDialog();
        }

        private void pictureBoxSetting_Click(object sender, EventArgs e)
        {
            //MessageBox.Show("Setting");
            SettingForm settingForm = new SettingForm();
            settingForm.ShowDialog();
        }

        private void buttonExit_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void pictureBoxPlay_MouseEnter(object sender, EventArgs e)
        {
            this.pictureBoxPlay.Image = Resources.Zillionaire_Play_Red;
        }

        private void pictureBoxPlay_MouseLeave(object sender, EventArgs e)
        {
            this.pictureBoxPlay.Image = Resources.Zillionaire_Play_Black;
        }

        private void pictureBoxSetting_MouseEnter(object sender, EventArgs e)
        {
            this.pictureBoxSetting.Image = Resources.Zillionaire_Setting_Red;
        }

        private void pictureBoxSetting_MouseLeave(object sender, EventArgs e)
        {
            this.pictureBoxSetting.Image = Resources.Zillionaire_Setting_Black;
        }

       
    }
}
